package br.com.hotstar.util.beanValidation;


import java.util.Arrays;

import org.hibernate.validator.resourceloading.AggregateResourceBundleLocator;
import org.hibernate.validator.spi.resourceloading.ResourceBundleLocator;


public class ResourceBundleMessageInterpolator extends org.hibernate.validator.messageinterpolation.ResourceBundleMessageInterpolator{
	
	
	public ResourceBundleMessageInterpolator(ResourceBundleLocator defaultResourceBundleLocator) {
		this(defaultResourceBundleLocator, true);
	}

	public ResourceBundleMessageInterpolator() {
		
		this(new  AggregateResourceBundleLocator( 
                Arrays. asList ( "br.com.hotstar.resource.messagesValidation.messages")));
	}

	public ResourceBundleMessageInterpolator(ResourceBundleLocator testResourceBundleLocator, boolean cachingEnabled) {
		super(testResourceBundleLocator, cachingEnabled);
	}

	
	
	
}